package com.vincce.sport.entity;

import java.util.Date;

import com.vincce.sport.core.utils.ConvertUtil;

/**
 * 用于前台首页数据专区界面显示
 * @author ex-yanjun
 *
 */
public class DateView {
	private Integer id;
	private String name;//球员
	private String teamName;//球队名
	private float backboard;//篮板
	private float totalScore; //总得分
	private float hit; //命中率
	private float assistsAsts;//助攻
	private Long seasonId;//赛季
	private Integer type;//1，球员场均得分；2场均篮板排名；3，场均助攻排名；4，命中率排名-球队；5，场均篮板排名-球队；6，场均得分排名-球队
	private Date updateTime;//更新时间
	private Integer playerId;
	private Integer teamId;
	private Integer schoolId;
	public Integer getSchoolId() {
		return schoolId;
	}
	public void setSchoolId(Integer schoolId) {
		this.schoolId = schoolId;
	}
	public float getAssistsAsts() {
		return assistsAsts;
	}
	public void setAssistsAsts(float assistsAsts) {
		this.assistsAsts = assistsAsts;
	}
	public float getHit() {
		return hit;
	}
	public void setHit(float hit) {
		this.hit = hit;
	}	
	public float getTotalScore() {
		return totalScore;
	}
	public void setTotalScore(float totalScore) {
		this.totalScore = totalScore;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTeamName() {
		return teamName;
	}
	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}
	public float getBackboard() {
		return backboard;
	}
	public void setBackboard(float backboard) {
		this.backboard = backboard;
	}
	public String getUpdateTime() {
		return ConvertUtil.format("yyyy-MM-dd", updateTime);
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Long getSeasonId() {
		return seasonId;
	}
	public void setSeasonId(Long seasonId) {
		this.seasonId = seasonId;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getPlayerId() {
		return playerId;
	}
	public void setPlayerId(Integer playerId) {
		this.playerId = playerId;
	}
	public Integer getTeamId() {
		return teamId;
	}
	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

}
